<div class="admin">
    <form method="post" name="myform" id="myform" action="">
        <div class="panel admin-panel">
            <div class="panel-head"><strong>未审核商品列表</strong></div>
            <table class="table table-hover">
                <tr>
                    <td>序号</td>
                    <th>商品名称</th>
                    <th>商品货号</th>
                    <th>进货价</th>
                    <th>销售价</th>
                    <th>市场价</th>
                    <th>销量</th>
                    <th>库存</th>
                    <th>点击次数</th>
                    <th width="13%">操作</th>
                </tr>
                <notempty name='res'>
                <foreach item='v' name='res'>
                    <tr>
                        <td>{$v['goods_id']}</td>
                        <td>{$v['goods_title']}</td>
                        <td>{$v['goods_number']}</td>
                        <td>{$v['goods_stockprice']}</td>
                        <td>{$v['goods_price']}</td>
                        <td>{$v['goods_markprice']}</td>
                        <td>{$v['goods_realsale']}</td>
                        <td>{$v['goods_stock']}</td>
                        <td>{$v['goods_hits']}</td>
                        <td class="f-14 td-manage">
                            <a class="button bg-green button-little" target="_blank" href="{:HOME_URL}/Goods/{$v['goods_id']}" title="预览"><i class="icon-eye"></i>预览</a>
                            <a class="button bg-blue button-little" href="{:U('edit',array('goods_id'=>$v['goods_id']))}" title="编辑"><i class="icon-edit"></i>编辑</a>
                            <a class="button bg-red button-little js-del" data="{$v['goods_id']}"  href="javascript:;" title="删除"><i class="icon-minus-circle"></i>删除</a>
                        </td>
                    </tr>
                </foreach>
                <else />
                    <tr><td colspan="9">暂无商品发布！！！</td></tr>
                </notempty>
            </table>
            <div class="panel-foot text-center">
                <div class="pages">
                {$pages}
                </div>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript">
    $('#myform').layer({
        actionUrl: "batchAction",
        deleteUrl: "{:U('/Goods/del')}",
    });
</script>